package com.rui.study.micro.userself.mapper;

import com.rui.study.micro.userself.model.AccountPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AccountMapper {

    int insertAccount(AccountPo accountPo);

    AccountPo selectAccount(@Param("identifier") String identifier);
    List<AccountPo> selectAccountList();

    int delete(String identify);
}
